package com.kb.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("resource_callback_notification2")
public class CallbackNotification {
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 下载id
     */
    private Long resourceId;

    private Integer synStatus;
    private Integer modeType;
    private String synErr;
    /**
     *     型号
     */
    private String partNumber;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    /**
     * 同步时间
     */
    private LocalDateTime synTime;

    private String createBy;
}
